<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title><%= title %></title>
</head>
<body>
    <h1><%= title %></h1>
    <form action="/push/startPush" method="post">
        <label>输入文件路径（如本地视频）：</label>
        <input type="text" name="inputFile" required><br>

        <label>RTMP 输出 URL（如 rtmp://server/live/stream）：</label>
        <input type="text" name="outputUrl" required><br>

        <label>分辨率 - 宽：</label>
        <input type="number" name="width" required><br>

        <label>分辨率 - 高：</label>
        <input type="number" name="height" required><br>

        <label>码率（kbps）：</label>
        <input type="number" name="bitrate" required><br>

        <label>帧率：</label>
        <input type="number" name="fps" required><br>

        <button type="submit">开始推流</button>
    </form>
</body>
</html>